/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.wonderly.desk.contacts;

import org.wonderly.ham.types.RST;
import java.io.Serializable;

/**
 *
 * @author gregg
 */
public class Contact implements Serializable {
	private static final long serialVersionUID = 1L;
	private String station;
	private String contact;
	private long time;
	private RST yourRST;
	private RST givenRST;
	private float freq;
	private int band;
	private String theirName;
	private String text;

	public Contact( String station, String contact, long time,
			RST yours, RST given,
			float freq, int band, String theirName, String text ) {
		this.station = station;
		this.contact = contact;
		this.time = time;
		this.yourRST = yours;
		this.givenRST = given;
		this.freq = freq;
		this.band = band;
		this.theirName = theirName;
		this.text = text;
	}

	/**
	 * @return the station
	 */
	public String getStation() {
		return station;
	}

	/**
	 * @param station the station to set
	 */
	public void setStation(String station) {
		this.station = station;
	}

	/**
	 * @return the contact
	 */
	public String getContact() {
		return contact;
	}

	/**
	 * @param contact the contact to set
	 */
	public void setContact(String contact) {
		this.contact = contact;
	}

	/**
	 * @return the time
	 */
	public long getTime() {
		return time;
	}

	/**
	 * @param time the time to set
	 */
	public void setTime(long time) {
		this.time = time;
	}

	/**
	 * @return the freq
	 */
	public float getFreq() {
		return freq;
	}

	/**
	 * @param freq the freq to set
	 */
	public void setFreq(float freq) {
		this.freq = freq;
	}

	/**
	 * @return the band
	 */
	public int getBand() {
		return band;
	}

	/**
	 * @param band the band to set
	 */
	public void setBand(int band) {
		this.band = band;
	}

	/**
	 * @return the theirName
	 */
	public String getTheirName() {
		return theirName;
	}

	/**
	 * @param theirName the theirName to set
	 */
	public void setTheirName(String theirName) {
		this.theirName = theirName;
	}

	/**
	 * @return the text
	 */
	public String getText() {
		return text;
	}

	/**
	 * @param text the text to set
	 */
	public void setText(String text) {
		this.text = text;
	}
}
